package io.lkt.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.lkt.common.utils.PageUtils;
import io.lkt.common.utils.Query;

import io.lkt.modules.sys.dao.BPlatformCommodityInfoDao;
import io.lkt.modules.sys.entity.BPlatformCommodityInfoEntity;
import io.lkt.modules.sys.service.BPlatformCommodityInfoService;


@Service("bPlatformCommodityInfoService")
public class BPlatformCommodityInfoServiceImpl extends ServiceImpl<BPlatformCommodityInfoDao, BPlatformCommodityInfoEntity> implements BPlatformCommodityInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BPlatformCommodityInfoEntity> page = this.page(
                new Query<BPlatformCommodityInfoEntity>().getPage(params),
                new QueryWrapper<BPlatformCommodityInfoEntity>()
        );
        return new PageUtils(page);
    }

}
